package com.ck.springboot.mybatis.mapper;

import com.ck.springboot.mybatis.entity.User;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {

    @Select("select * from User where id = #{id}")
    User getById(long id);

    User selectByPrimaryKey(int id);
}
